import { defineStore } from 'pinia'
import { ref } from 'vue'
const useHeaderStore = defineStore('header', () => {
    let isBlack = ref(true)

    function switchIsBlack(bol:boolean){
        isBlack.value = bol
    }

    return {
        isBlack,
        switchIsBlack
    }
})

export default useHeaderStore